<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>N8N - 开源工作流自动化工具</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            margin-top: -0.2rem;
            color: #667eea;
            font-family: 'Noto Serif SC', serif;
        }
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #667eea, transparent);
            margin: 3rem 0;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <div class="mb-8 float-animation">
                <i class="fas fa-project-diagram text-6xl opacity-80"></i>
            </div>
            <h1 class="text-5xl md:text-6xl font-bold mb-6">
                n8n
            </h1>
            <p class="text-xl md:text-2xl mb-4 opacity-90">
                开源工作流自动化工具
            </p>
            <p class="text-lg max-w-3xl mx-auto opacity-80">
                通过简单的拖拽操作，连接不同的应用程序和服务，让重复性工作自动化运行
            </p>
            <div class="mt-10">
                <a href="https://n8n.io/" target="_blank" class="inline-flex items-center bg-white text-purple-700 px-8 py-4 rounded-full font-semibold hover:bg-gray-100 transition-all duration-300 shadow-lg">
                    <i class="fas fa-external-link-alt mr-2"></i>
                    访问官网
                </a>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-6xl mx-auto px-6 py-16">
        
        <!-- What is N8N Section -->
        <section class="bg-white rounded-2xl shadow-xl p-10 mb-12 card-hover">
            <h2 class="text-3xl font-bold mb-6 text-gray-800 flex items-center">
                <i class="fas fa-question-circle mr-3 feature-icon"></i>
                什么是 N8N？
            </h2>
            <div class="prose prose-lg max-w-none">
                <p class="text-gray-700 leading-relaxed">
                    <span class="drop-cap">n</span>8n（读作"node eight node"）是一个开源的工作流自动化工具，旨在帮助用户通过简单的方式将不同的应用程序和服务连接起来，实现自动化任务。它的全称是 <strong class="text-purple-700">nod(e)8nod(e)</strong>，名字中的"8"象征着连接不同节点（nodes）的工作流，强调其基于节点的直观设计。无论是个人用户还是企业团队，n8n 都能让你轻松构建自动化流程，无需深厚的编程知识。
                </p>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Who is N8N for Section -->
        <section class="grid md:grid-cols-2 gap-8 mb-12">
            <div class="bg-white rounded-2xl shadow-xl p-10 card-hover">
                <h2 class="text-3xl font-bold mb-6 text-gray-800 flex items-center">
                    <i class="fas fa-users mr-3 feature-icon"></i>
                    n8n 适合谁？
                </h2>
                <p class="text-gray-700 leading-relaxed">
                    n8n 特别适合新手和非技术背景的用户，因为它提供了直观的图形化界面，让你通过拖拽和连接"节点"就能完成复杂的自动化任务。如果你经常需要处理重复性工作，比如同步数据、发送通知或整合多个工具，n8n 就是你的好帮手。它也适合开发者，因为它支持自定义代码和高级配置，功能非常灵活。
                </p>
            </div>
            
            <!-- Visual Diagram -->
            <div class="bg-white rounded-2xl shadow-xl p-10 card-hover flex items-center justify-center">
                <div class="mermaid">
                    graph TD
                    A[用户群体] --> B[新手用户]
                    A --> C[非技术背景]
                    A --> D[开发者]
                    B --> E[图形化界面]
                    C --> F[拖拽操作]
                    D --> G[自定义代码]
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Core Features Section -->
        <section class="mb-12">
            <h2 class="text-3xl font-bold mb-10 text-center text-gray-800">
                <i class="fas fa-star mr-3 text-gradient"></i>
                n8n 的核心功能
            </h2>
            
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
                <!-- Feature 1 -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-sitemap"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">基于节点的流程设计</h3>
                    <p class="text-gray-600">
                        使用"节点"来表示任务的每个步骤。每个节点可以是触发器或动作，通过拖拽连接创建工作流。
                    </p>
                </div>

                <!-- Feature 2 -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-plug"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">支持多种应用程序</h3>
                    <p class="text-gray-600">
                        内置数百个预配置集成，支持 Google Sheets、Slack、Discord、Notion 等常见工具。
                    </p>
                </div>

                <!-- Feature 3 -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-code-branch"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">开源与灵活部署</h3>
                    <p class="text-gray-600">
                        完全开源，可在本地、云服务器或 n8n 云服务上运行，社区支持强大。
                    </p>
                </div>

                <!-- Feature 4 -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-clock"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">触发器与定时任务</h3>
                    <p class="text-gray-600">
                        支持定时触发、Webhook 触发或手动触发，根据需求灵活设置。
                    </p>
                </div>

                <!-- Feature 5 -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-bug"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">错误处理与调试</h3>
                    <p class="text-gray-600">
                        提供直观的调试工具，轻松发现和修复工作流中的问题。
                    </p>
                </div>

                <!-- Feature 6 -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-4xl mb-4 feature-icon">
                        <i class="fas fa-magic"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">自定义扩展</h3>
                    <p class="text-gray-600">
                        支持 JavaScript 自定义节点和 HTTP 请求，满足高级用户需求。
                    </p>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Why Choose N8N Section -->
        <section class="bg-gradient-to-r from-purple-50 to-indigo-50 rounded-2xl p-10 mb-12">
            <h2 class="text-3xl font-bold mb-8 text-center text-gray-800">
                <i class="fas fa-heart mr-3 text-gradient"></i>
                为什么选择 n8n？
            </h2>
            
            <div class="grid md:grid-cols-2 lg:grid-cols-5 gap-6">
                <div class="text-center">
                    <div class="bg-white rounded-full w-20 h-20 flex items-center justify-center mx-auto mb-4 shadow-lg">
                        <i class="fas fa-hand-peace text-3xl feature-icon"></i>
                    </div>
                    <h4 class="font-bold text-gray-800 mb-2">易上手</h4>
                    <p class="text-sm text-gray-600">图形化界面让新手快速学会</p>
                </div>
                
                <div class="text-center">
                    <div class="bg-white rounded-full w-20 h-20 flex items-center justify-center mx-auto mb-4 shadow-lg">
                        <i class="fas fa-gift text-3xl feature-icon"></i>
                    </div>
                    <h4 class="font-bold text-gray-800 mb-2">免费开源</h4>
                    <p class="text-sm text-gray-600">核心功能完全免费</p>
                </div>
                
                <div class="text-center">
                    <div class="bg-white rounded-full w-20 h-20 flex items-center justify-center mx-auto mb-4 shadow-lg">
                        <i class="fas fa-cogs text-3xl feature-icon"></i>
                    </div>
                    <h4 class="font-bold text-gray-800 mb-2">高度可定制</h4>
                    <p class="text-sm text-gray-600">支持自定义节点开发</p>
                </div>
                
                <div class="text-center">
                    <div class="bg-white rounded-full w-20 h-20 flex items-center justify-center mx-auto mb-4 shadow-lg">
                        <i class="fas fa-shield-alt text-3xl feature-icon"></i>
                    </div>
                    <h4 class="font-bold text-gray-800 mb-2">数据隐私</h4>
                    <p class="text-sm text-gray-600">自托管数据完全掌控</p>
                </div>
                
                <div class="text-center">
                    <div class="bg-white rounded-full w-20 h-20 flex items-center justify-center mx-auto mb-4 shadow-lg">
                        <i class="fas fa-users text-3xl feature-icon"></i>
                    </div>
                    <h4 class="font-bold text-gray-800 mb-2">活跃社区</h4>
                    <p class="text-sm text-gray-600">大量教程和社区支持</p>
                </div>
            </div>
        </section>

        <!-- Workflow Visualization -->
        <section class="bg-white rounded-2xl shadow-xl p-10 mb-12">
            <h2 class="text-3